projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ce4dc
)
Add support for Holux M-1200E.
author
robertlipe
<robertlipe@gmail.com>
Sun, 2 Oct 2011 18:09:11 +0000
(18:09 +0000)
committer
robertlipe
<robertlipe@gmail.com>
Sun, 2 Oct 2011 18:09:11 +0000
(18:09 +0000)
gpsbabel/mtk_logger.c
patch
|
blob
|
history
diff --git
a/gpsbabel/mtk_logger.c
b/gpsbabel/mtk_logger.c
index b59db95748805b26d1d8dd01bcca27b5af8cc229..37e948485fb36befb38bf4712241e7b616bb15cd 100644
(file)
--- a/
gpsbabel/mtk_logger.c
+++ b/
gpsbabel/mtk_logger.c
@@
-1543,6
+1543,12
@@
static void file_read(void)
holux245_init();
}
+ // Tobias Verbree reports that an M-12ee is like a 245.
+ if (memcmp(&buf[i], "HOLUXM1200", 10) == 0) {
+ dbg(2, "Detected Holux HOLUXM1200 !\n");
+ holux245_init();
+ }
+
// skip the 4 spaces that may occur on every device
if (memcmp(&buf[i+16], " ", 4) == 0) { // Assume loglen >= 20...
k += 4;